<?php
/**
 * Author: LaiGuiming
 * Time: 2017-12-01 14:22:32
 * Copyright (C) 2016 Longyan Wehome Message CO.,LTD.
 */
namespace app\admin\validate;

use think\Validate;

/**
 * 数据字典验证类
 * Class Dict
 * @package app\admin\validate
 */
class Dict extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
      ['name','require','字典名称必须填写'],
      ['code','require','编码必须填写'],
      ['val','require','字典值必须填写'],
      ['type_id','require','字典类型主键必须填写']
    ];
}
